<%--
  Created by IntelliJ IDEA.
  User: wagger
  Date: 2019/05/26
  Time: 下午 8:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Traveler Blog --> 做一个孤独的旅行者，发现存在的意义</title>
    <link href="/client/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="/client/css/style.css" type="text/css" rel="stylesheet">
    <link type="text/css" href="/client/css/nprogress.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="/client/js/html5shiv.min.js" type="text/javascript"></script>
    <script src="/client/js/respond.min.js" type="text/javascript"></script>
    <script src="/client/js/selectivizr-min.js" type="text/javascript"></script>
    <![endif]-->
    <%--<link rel="apple-touch-icon-precomposed" href="/client/images/icon/icon.png">--%>
    <link rel="shortcut icon" href="/client/images/tou.ico">
    <meta name="Keywords" content="" />
    <meta name="description" content="" />
    <script type="text/javascript">
        //判断浏览器是否支持HTML5
        window.onload = function() {
            if (!window.applicationCache) {
                window.location.href="/client/ie.html";
            }
        }
    </script>
</head>
<div class="sidebar-block recommend">
    <h2 class="title"><strong>热门推荐</strong></h2>
    <ul>
        <c:forEach items="${clickList}" var="cl">
            <li>
                <input type="hidden" name="pid" value="${cl.pid}">
                <a href="/artile/findById.do?pid=${cl.pid}">
                    <span class="thumb">
                        <img src="${cl.img}" alt=""></span>
                    <span class="text">${cl.title}</span>
                    <span class="text-muted">阅读(${cl.click})</span>
                </a>
            </li>
        </c:forEach>
    </ul>
</div>